/* 基础重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
}

/* 视频背景容器 */
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

/* 背景视频样式 */
.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%); /* 视频居中 */
  object-fit: cover; /* 覆盖全屏，裁剪多余部分 */
}

/* 通用背景样式 */
.background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.background-video video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* 标题容器（保持不变） */
.title-container {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* 竖版标题图片（保持不变） */
.vertical-title {
  max-height: 80vh;
  width: auto;
  object-fit: contain;
  opacity: 0;
  animation: fadeIn 1.5s ease-out forwards 0.5s;
}

/* 点击提示（保持不变） */
.click-hint {
  position: fixed;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(0, 0, 0, 0.8);
  font-size: 1.2rem;
  letter-spacing: 2px;
  font-family: "Ma Shan Zheng", serif;
  opacity: 0;
  animation: fadeIn 1s ease-out forwards 2s;
}

/* 渐显动画（保持不变） */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 响应式适配 */
@media (max-width: 768px) {
  .vertical-title {
    max-height: 70vh;
  }

  .click-hint {
    font-size: 1rem;
    bottom: 30px;
  }
}
